#pragma once

#include "ParticleDataPredictor.h"
#include "ParticleVehicleData.h"

typedef CParticleDataPredictor<CParticleVehicleData> CParticleVehicleDataPredictor;

/**
 * randomly update a particle
 */
class CRandomParticleVehicleDataPredictor : public CParticleVehicleDataPredictor {
public:
	CRandomParticleVehicleDataPredictor(const CParticleVehicleData& stdDev);

public:
	void predict(CParticleVehicleData* particle);

private:
	CParticleVehicleData stdDev;  //standard deviation of each parameters

	float deltaTime;
};

